Improvement of Ion-Beam Energy Resolution in a Solenoid-based Radioactive Nuclear Beam Facility.