Judge rules in favour of Mayor of London’s threshold approach to affordable housing