The 44-year-old man visited his ex-girlfriend's house on multiple occasions, despite having a restraining order