Shane Byrne is one point off the top of the British Superbikes Championship after recovering from a crash to win the second race at Oulton Park.