Handful of countries now prohibit discredited practice
Taliban regained control of Afghanistan last August
Bill will become law once it receives royal assent
Prime minister says discredited practice as 'discriminatory and degrading'
Prime minister champions LGBTQ rights