49ers waive former rugby star Jarryd Hayne