A man has set himself on fire in central Tunis hours before lawmakers were to vote on a new government to pull the country out of a deep political crisis.