emit IR for array construction with ctor
fix index access on lhs of assign
add test for object construction
make get_operand() public
remove temporary assertion