Aug 17 (Reuters) - Bankrupt coal company Peabody Energy won U.S. court approval on Wednesday for agreements with three states to partially cover $1.14 billion in potential environmental liabilities...