Vote clears the way for Labour grandee to become the next UK ambassador to Washington