Considering the colony as a superorganism, this could be primarily to serve the purpose of redundancy/slack, so that losses or shocks can be continually replaced/responded to, in order to maintain a systemic homeostasis. Though 40% of individuals inactive does seem a large proportion, but perhaps they use little energy.