To delete the extra week(s) in your Moodle course, "Turn editing on" from the gear icon at the top right corner as shown below.
Scroll down to the bottom of the course and select the "Edit" for the specific week and select "Delete Week" as shown below.