Optimized signal deduction procedure for the MIEZE spectroscopy technique