Leon Haslam suffered a huge crash at Brands Hatch as Shane Byrne pipped him to the British Superbikes title.