Macro-symbiosis triggered by a defence-reproduction tradeoff in a social insect