Daley did right by stepping down: Shorten