Bursa Malaysia recovers to end higher