Deputy who assaulted his wife quits force