Sex offender jumps out of laundry and stabs police officer twice with four-inch blade before being shot dead