Johanna Konta hung on to secure a tense three-set win over Anna Bondar that booked Great Britain's place in the play-off against Serbia.