St. Paul to pay $400K in police brutality case