BEML secures ₹590-crore defence order