When adding merged regions, a check is performed to make sure the candidate merged region does not intersect cells that are part of an array formula. The same check should be done in the opposite direction to prevent corrupting the workbook.
Added disabled unit test in r1749225. Currently fails on HSSF and XSSF.