A&O and Slaughters toast £497m Whitbread pubs sale