Inspired GB stage comeback to reach Billie Jean King Cup semi-finals