An Indonesian maid who was brutally abused by her Malaysian employer has won compensation after waiting five years.