simpler real solution of ``roots_cubic`` in some case
Merge pull request #2470 from pernici/cubic1

simpler real solution of ``roots_cubic`` in some case