J Jayalalithaa has been sworn in as the Tamil Nadu Chief Minister for the record fifth time, after her aide O Panneerselvam resigned from the post.