Fix wrong resize() usage for Eigen::Array.

Fallout of #240.