A domestic abuser who used a fake online profile to encourage his ex-girlfriend to kill herself has been fined and slapped with a restraining order.