Bursa Malaysia opens slightly weaker but rebounds thereafter