Trio of London boroughs merge legal services as part of spending squeeze