The French senate has backed controversial plans to raise the retirement age to 64 despite nationwide strikes.