A Singaporean man sentenced to 15 years in jail under the lese majeste law has received a royal pardon and was freed on Wednesday.