It all goes down to pre-planning! AK did not only tell the world they will be moving to KLIA2 on 9th May. AK released this news on 15 April, and I do not believe the Immigration Dept have not thought that they will be stretching the manpower across three terminals. They could have always temporarily post Immigration officers from other gateways to LCCT/KLIA2 to mitigate such issues.
The point is, from the chaos, the immigration department does not seem to have any foresight in planning for the future, as with few of other agencies and ministries.
And as with the typical, apparently culture of the gov. civil service, we find fault and put the blame on the others first, unless until someone else prove we're wrong, and then continue living in denial. (Remember the guy who blamed Boeing?).