Chile's government has confirmed all 21 people on board a military aircraft, which crashed into the Pacific Ocean, have died.