Malaysian market wrap: Ringgit posts biggest yearly loss since 1997, shares fall 3.9%