Kurtley Beale has ended his troubled spell with the Melbourne Rebels and re-signed for the New South Wales Waratahs.