Man enters ex-girlfriend's home with bat