Protesters against mass tourism in Majorca have been dealt a crushing blow as an initiative aimed at restricting the sale of homes to foreigners is rejected in parliament.