Senegal Court allows jailed opposition leader to run for president