Maher-Eustace partnership wins Coolmore Legacy Stakes at Randwick