HC directs Thane civic body to complete demolition of illegal mosque