Yemen's parliament approves an immunity from prosecution for President Ali Abdullah Saleh, who recently signed a deal to formally step down next month.