[pm] fix static assert with template and AlwaysFalse
What this MR does / why does DuMux need it:
Fixes #1430 (closed) (Parts were done in !3948 (merged)).
This also adds a statement, when the function should be deleted.
Before you request a review from someone, make sure to revise the following points:
-
does the new code follow the style guide? -
do the test pipelines pass? (see guide on how to run pipelines for a merge request)
Edited by Timo Koch