Suns beat Mavs to set up playoff elimination