Advocate General Punjab tenders resignation