As far as I understand, this choice is not made for legal reasons (ie. not because Mozilla want to reduce the use of (L)GPL licensed code) but for purely technical reasons. They want to convince hardware makers that the code that will be running on the devices is as close as possible to Android, so that no extra effort is required in hardware to support B2G.