Chemical bonding of polyatomic-ion implants in Si