Model for micropart planarization in capillary-based microassembly