London councils in redundancy talks as legal tie-up takes shape