Lara van Niekerk broke the Commonwealth Games record in the women's 50m breaststroke for the second time on the same day to advance to the final.