Improving the Reliability of Parallel and Series–Parallel Systems by Reverse Engineering of Algebraic Inequalities