There are definitely some boss fights where Melee DPS is a strictly worse than ranged. I have not found the opposite to be true for any encounter I've seen. There are some bosses with attacks that are easier to dodge if you hug the monster, but this isn't a benefit to melee DPS at all, since ranged DPS could just stand there if they are smart. The time melee dps has to run away from attacks, run to adds, run back to boss, etc. All of that is taking away from their uptime and interrupting their rotations. Demon wall is slightly more difficult for DPS that has long cast times, but this can actually be fully mitigated if they are skilled and just predodge all the telgraphed blows, and only move during the last .2 seconds of cast time so it doesn't cause an interrupt. However, there is no way for melee DPS to use skill to remove the time it takes to run from point A > B > A. Many of the bosses have PBAoE attacks that need to be dodged, there is no equivalent for ranged DPS.