Handling don't-care conditions in high-level synthesis and application for reducing initialized registers