From the UK AIP, ENR 1.1.3 para 3.2.3.2:
An IFR flight experiencing communications failure in VMC shall:
When VMC can be maintained, the pilot should set transponder to A7600 and land at nearest suitable aerodrome. Pilots should take account of visual landing aids and keep watch for any instructions as may be issued by visual signals from the ground. Pilots should report arrival to the appropriate ATC unit as soon as possible
I would conclude that the 767 pilots did the correct thing