Stabbing could have been avoided with better mental healthcare, watchdog says