Credit: AFP via Getty Images/FREDERIC J. BROWN Maryland records 31 heat deaths in the month, pushing total to second-highest in 15 years