More than 900 Massachusetts homeowners lost their properties to foreclosure in August, the highest monthly total this year and another sign that lenders are revving up their efforts to take back properties from people who aren’t making mortgage payments.